package com.hua.nailcampus.acl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hua.nailcampus.acl.model.Friends;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author:chenjianhua
 * @Date:2023/11/15 19:51
 * @Version 1.8
 */
@Mapper
public interface FriendsMapper extends BaseMapper<Friends> {
    /**
     * 获取用户所有好友ID
     * @param userId
     * @return
     */
    List<Integer> getAllFriendsId(Integer userId);
}
